extends Card


func play_on_release(card_view: CardView) -> void:
	var player = card_view.get_tree().get_first_node_in_group("player")
	player.play_animation("attack")
	var tween := card_view.create_tween()
	tween.tween_interval(0.21)
	await tween.finished
	player.play_animation("default")
	card_view.play_on_release_signal_finish.emit()
	var player_state: PlayerInBattleState = Globals.player_state
	player_state.shield_cumulation = 1
	once = true


func get_desc() -> String:
	if desc_lab == "":
		return ""
	var text = desc_lab
	return text


func init_from_csv(introduce):
	super.init_from_csv(introduce)
